package com.youpai.platform.user.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author welles
 * @version 1.0
 * @description 用户普通登录Req
 * @date 2021/10/7
 */
@Data
@ApiModel(value = "UserLoginReq",description = "用户普通登录请求参数")
public class UserLoginReq {

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String pwd;
}
